<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>form表单</title>
</head>

<body>
  <form action="http://www.baidu.com" method="get">
    单行文本：<input type="text" maxlength="5" name="usersname" id="type" /><br />
    &nbsp;&nbsp;&nbsp;密码域：<input type="password" name="password" id="password" /><br />
    隐藏域：<input type="hidden" name="hidden" id="hidden" diabled="disabled" /><br />
    单选按钮：<input type="radio" name="sex" id="male" checked="checked"/>男
            <input type="radio" name="sex" id="femal" />女<br />
    复选按钮：<input type="checkbox" name="hobby" id="football" />足球
            <input type="checkbox" name="hobby" id="badminton" />羽毛球
            <input type="checkbox" name="hobby" id="basketball" />篮球
            <br />
    文件上传域：<input type="file" name="file" id="file" /><br />
    图像域：<input type="image" src="引用文件/img-0617d888d3f4751e58927e87a9d65fe9.jpg" width="300" height="400" /><br />
    提交按钮：<input type="submit" name="submit" name="submit" /><br />
    重置按钮：<input type="reset" name="reset" id="reset" /><br />
    普通按钮<input type="button" name="button" id="button">
  </form>
</body>
</html>
